package com.ruoyi.wechat.service;

import com.ruoyi.wechat.domain.CFacility;
import com.ruoyi.wechat.domain.CFacilityType;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IWxCFacilityService {
    

    public CFacility selectCFacilityByFacilityId(String facilityId);

    /**
     * 新增服务设施
     */
    public int insertCFacility(CFacility cFacility);

    //    @Override
    //    public int insertCFacility(CFacility cFacility) {
    //        cFacility.setFacilityId(IdUtils.randomUUID());
    //        return cFacilityMapper.insertCFacility(cFacility);
    //    }
    int insertCFacility(String campId, String[] facilityIds);

    List<CFacilityType> campFacilityListByCampId(String campId);

    /**
     * 修改服务设施
     */
    public int updateCFacility(CFacility cFacility);

    /**
     * 批量删除服务设
     */
    public int deleteCFacilityByFacilityIds(String[] facilityIds);

    /**
     * 删除服务设施信息
     */
    public int deleteCFacilityByFacilityId(String facilityId);



    //    微信查询设施类型以及对应的所有设施
    List<CFacilityType> selectCFacilityByFacilityTypeId(CFacilityType cFacilityType);
}
